/**
 * 
 */
package com.apanal.qlife.property.service;

import java.io.InputStream;
import java.util.List;

import com.apanal.qlife.common.exception.BusinessException;
import com.apanal.qlife.common.page.Page;
import com.apanal.qlife.common.page.PageReturn;
import com.apanal.qlife.property.model.Community;
import com.apanal.qlife.sys.model.User;

/**
 * @author Admin
 *
 */
public interface CommunityService {

	public PageReturn<Community> findCommunityList(Community community,Page page);
	
	public Community findCommunity(Community community);
	
	public int saveCommunity(Community community);
	
	public int updateCommunity(Community community);

	public PageReturn<Community> selectRelationForPage(Community community,
			Page page);

	public List<Community> selectByIds(String ids);
	
	public int updateCommunityNormal(Community community);
	
	public String importExcelCommunity(InputStream inputStream,User user) throws BusinessException;
	
}
